package com.hmy.contract.bo.request.authorizermodify;

import com.hmy.contract.commons.enums.AuthorizerEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ApproveAuthorizerModifyRequest {

    /**
     * 变更id
     */
    @NotNull(message = "变更id不能为空")
    private Long modifyId;

    /**
     * 任务id
     */
    @NotBlank(message = "任务id不能为空")
    private String taskId;

    @NotNull(message = "审批结果不能为空")
    private AuthorizerEnum.ApproveResult approveResult;

    /**
     * 审批意见
     */
    private String approveRemark;
}
